IWorkspace.OpenProject method ¶
Namespace: NextDesign.Desktop
Description¶
Opens the specified project.
argument¶
| Name | Type | Description |
|---|---|---|
| projectPath | string | Project path Null or empty string cannot be specified. |
| isSetCurrent | bool | If the loaded project is set as the current project or False is specified, the loaded project will not be set as the current project. The default value is True. |
Return value¶
Exception¶
| Name | Exception Class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | If null or an empty string is specified for projectPath |
| Invalid path | ExtensionInvalidPathException | If the specified path cannot be interpreted as a valid path string |
| Invalid file specification | ExtensionInvalidFileException | If the file extension of projectPath is not a project |
| File not found | ExtensionFileFoundException | If the file at projectPath is not found |